/*
 * @Author: your name
 * @Date: 2022-03-19 19:33:41
 * @LastEditTime: 2022-03-20 15:04:17
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \driving\src\article\article.module.ts
 */
import { Module } from '@nestjs/common';
import { ArticleService } from './article.service';
import { ArticleController } from './article.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CategoryService } from 'src/category/category.service';
import { CategoryEntity } from 'src/category/entities/category.entity';
import { ArticleEntity } from 'src/article/entities/article.entity';
import { AuthModule } from 'src/auth/auth.module';
import { CategoryModule } from 'src/category/category.module';

@Module({
  imports: [TypeOrmModule.forFeature([ArticleEntity,CategoryEntity]),CategoryModule,AuthModule],
  controllers: [ArticleController],
  providers: [ArticleService,CategoryService]
})
export class ArticleModule  {}
